<?php
/**
 * @version      BOSSCMS-Free
 * @trademark    BOSSCMS
 * @copyright    Copyright © by BOSSCMS-Free (https://www.bosscms.net/) 保留所有权利
 * @license      https://gitee.com/Greenpeas/BOSSCMS/license/ 和 https://www.bosscms.net/freelicense/
 * @link         https://www.bosscms.net/
 * @author       温州软界网络技术有限公司
**/
defined('IS_OK') or exit('Access Forbidden');
?>
<?php load::into('head'); ?>
<form action="<?php echo url::mpf('safe','safe','add'); ?>" method="post" enctype="multipart/form-data">
<?php global $aE; $aE=$G['config']; ?>
<section class="main form">
  <aside>
	<div>
	  <h2>
		<strong>安全设置</strong>
	  </h2>
	  <dl>
		<dt>
		  <strong>后台地址</strong> 
		</dt>
		<dd>
		  <?php echo form::input('admin_folder',$G['path']['folder'],'manage','text',array('required','width3','placeholder'=>'请输入后台目录名称')); ?>
          <cite>为了您网站安全，请尽快将后台“admin”登录入口修改为其他</cite>
		</dd>
	  </dl>
	  <dl>
		<dt>
		  <strong>登录验证</strong> 
		</dt>
		<dd>
		  <?php echo form::radio('admin_login_captcha',aE('admin_login_captcha'),1,$G['option']['open'],null); ?>
          <cite>开启后登录网站后台需“验证码”验证</cite>
		</dd>
	  </dl>
	</div>
  </aside>
  <aside>
    <div>
	  <h2>
	    <strong>上传设置</strong>
	  </h2>
	  <dl>
		<dt>
		  <strong>文件上传最大限制</strong> 
		</dt>
		<dd>
		  <?php echo form::input('upload_maxsize',aE('upload_maxsize'),200,'number',array('required','unit'=>'MB','width2')); ?>
		  <cite>后台管理组操作的文件上传大小限制</cite>
		</dd>
	  </dl>
	  <dl>
		<dt>
		  <strong>允许上传类型</strong> 
		</dt>
		<dd>
		  <?php echo form::textarea('upload_extension',aE('upload_extension'),null,array('width'=>'60%','param','placeholder'=>'["输入文件类型的后缀名"]','row'=>5)); ?>
		</dd>
	  </dl>
	  <dl>
		<dt>
		  <strong>远程下载</strong> 
		</dt>
		<dd>
		  <?php echo form::radio('ueditor_catchimage',aE('ueditor_catchimage'),1,$G['option']['open']); ?>
		  <cite>远程下载功能开启后，使用者即从其他站点复制/粘贴内容到编辑器，内容中的图片将自动下载到本地服务器。<br>说明：使用者即表明知晓并同意使用此功能下载(图片/资源)带来的一切风险及相关法律责任，出现纠纷由使用者承担责任。</cite>
		</dd>
	  </dl>
	</div>
  </aside>
</section>

<section class="refer">
  <button class="button ok" type="submit">
    <em class="fa fa-floppy-o"></em>
    <font>保存</font>
  </button>
</section>
</form>
<?php load::into('foot'); ?>